package com.jy.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.jy.common.ResultInfo;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 车位销售表
 * </p>
 *
 * @author xiexingxin
 * @since 2022-11-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_carportsell")
public class Carportsell implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键，停车场区域Id，自增
     */
    @TableId(value = "sellId", type = IdType.AUTO)
    private Integer sellId;

    /**
     * 与t_carport表主键关联，车位号
     */
    private Integer cid;

    /**
     * 与t_proprietor表主键关联，业主信息
     */
    private Integer pid;

    /**
     * 与t_area表主键关联，区域Id
     */
    @TableField("typeState")
    private Integer typeState;

    /**
     * 销售时间
     */
    private Date selldate;

    /**
     * 车位价格
     */
    @TableField("sellPrice")
    private Float sellPrice;


}
